From 1ff8df1e18ba16a4668b3c1c4bd23b219bb0c669 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sat, 8 Jan 2011 18:46:46 +0900 Subject: [PATCH] Adding missing gtk-doc annotations. GtkProgressBar:show-text, GtkScrolledWindow:min-content-width/height are new properties in 3.0. --- gtk/gtkprogressbar.c | 10 ++++++++++ gtk/gtkscrolledwindow.c | 15 +++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 1abad28147..3cc366c6a2 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -179,6 +179,16 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class) NULL, GTK_PARAM_READWRITE)); + /** + * GtkProgressBar:show_text: + * + * Sets whether the progressbar will show text superimposed + * over the bar. The shown text is either the value of + * the #GtkProgressBar::text property or, if that is %NULL, + * the #GtkProgressBar::fraction value, as a percentage. + * + * Since: 3.0 + */ g_object_class_install_property (gobject_class, PROP_SHOW_TEXT, g_param_spec_boolean ("show-text", diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 972d99671a..f4a02994af 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -378,6 +378,13 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class) DEFAULT_SCROLLBAR_SPACING, GTK_PARAM_READABLE)); + /** + * GtkScrolledWindow:min-content-width: + * + * The minimum content width of @scrolled_window, or -1 if not set. + * + * Since: 3.0 + */ g_object_class_install_property (gobject_class, PROP_MIN_CONTENT_WIDTH, g_param_spec_int ("min-content-width", @@ -385,6 +392,14 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class) P_("The minimum width that the scrolled window will allocate to its content"), -1, G_MAXINT, -1, GTK_PARAM_READWRITE)); + + /** + * GtkScrolledWindow:min-content-height: + * + * The minimum content height of @scrolled_window, or -1 if not set. + * + * Since: 3.0 + */ g_object_class_install_property (gobject_class, PROP_MIN_CONTENT_HEIGHT, g_param_spec_int ("min-content-height", -- 2.30.2